# encoding: UTF-8
"""

@author = 李林名
@email = lishuai1199@qq.com
@create_time = 2022/11/13 11:49

"""
# -*- coding: utf-8 -*-

from distutils.core import setup
import py2exe, sys

sys.argv.append('py2exe')

options = {"py2exe": {
    "compressed": 1,  # 压缩
    "optimize": 2,
    "bundle_files": 1,  # 所有文件打包成一个exe文件
}}

setup(
    ##AccessBaiduByChorme.py:表示需要生成exe的程序;smile.ico表示:图标
    console=[{'script': "accessBaiduByEdge.py", "icon_resources": [(1, "search.ico")]}],
    options=options,
    zipfile=None
)

























